package com.physique.tea;

import com.physique.tea.Component.AiWebSocket;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan(basePackages = "com.physique.tea.Mapper")
public class PhysiqueApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(PhysiqueApplication.class, args);
        AiWebSocket.setApplicationContext(applicationContext);
    }

}
